Mind strength trainer

ABSTRACT

An assortment of algorithms, procedures and associated device-hardware to condition human mind on causality between a specific state of mind and an externally generated stimuli, including a procedure to collect ( 310 ) bio signals underlying specific mental moods, characterize ( 330 ) them, monitor ( 350,360 ) bio signal activity to detect such moods, and play mind games that enhance mind&#39;s flexing power with the help of said device. Invention also includes a method ( 340 ) to evaluate and engineer mantras that serve as said externally generated stimuli.

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of PPA Ser. No. 61/400,554 filed Jul. 29, 2010 by the present inventor, which is incorporated by reference.

BACKGROUND-PRIOR ART

The following is a tabulation of some prior art that presently appears relevant:

Patent Number Kind Code U.S. Patents Issue Date Patentee 5,813,993 A 1998 Sep. 29 Kaplan 6,625,485 B2 2003 Sep. 23 Levendowski 5,724,987 A 1998 Mar. 10 Gevins 5,911,581 A 1999 Jun. 15 Reynolds

Recently we have been hearing a lot about people coping with mental disorders and syndromes such as ADD, ADHD, PTSD, depression, anxiety, rage etc. In the society we also see increasing signs of stress stemming from intolerance, lack of compassion and emotional instability.

There has been widespread use of antidepressants and antipsychotic drugs to treat several of the above conditions. However, reports suggest that their long term, side and withdrawal effects could indeed make one's life more miserable.

Speaking about the drug-free treatments available, neuro feedback (bio feedback) therapy and psychological counseling are good examples. While they take the right approach in addressing the root cause behind these syndromes (which is, in most cases, a need to strengthen the subject's mind against distractive forces), their effects vain away when the guiding forces from the counselor, feedback machine etc are removed in the long run.

Some setbacks of neuro feedback therapy in the context of ADD/ADHD treatment are listed below:

(a) Neuro feedback therapy relies heavily on rewarding the subjects for their performance during therapy sessions. Unfortunately, those rewarding situations do not happen in real life. So the subjects would not feel motivated the same way in real life.

(b) Rewards are given only for sustaining specific electrical states of the subject's brain. It doesn't reward to differentiate between states (such as between a rewarding state and a non-rewarding state), which is necessary to avoid adverse states.

(c) Therapy is completely ‘symptom-based’ in the sense that, it only strives to sustain certain levels of β or θ electrical components of brain activity, without paying attention to the subjective mental states underlying those signals.

(d) Not everyone stays motivated to play the same type of neuro feedback game till the end of session that typically involves several sittings and fine tuning.

(e) It is expensive, long winding and its success depends on how good the trainer is.

Meditation techniques have long been a proven remedy for the mental disorders mentioned above. Meditation is also known to successfully treat conditions of mental degradation with symptoms such as, lack of concentration, lack of memory etc. Of all the meditation techniques available out there, the ancient mantra meditation technique is known to give effortless and superior results. Transcendental Meditation™, Primordial Sound Meditation™, NSR Meditation™ etc are variations of mantra meditation.

Mantra meditation can be viewed as a highly sophisticated and personalized neuro feedback session where the feedback is played out in the mental domain as opposed to the electrical domain of electroencephalogram (EEG) signals. In mantra meditation, rising of a mantra in subject's mind in response to a deviation in mental state, could be thought of as a self-reward. In other words, mantra meditation is a mental game wherein, mind acquires the skills to supervise, alert and reward itself. As the subject progresses through several meditation sessions, the reward merges with the goal (which is a certain mental state) itself. Further down, the goal ceases to exist as the subject's consciousness tends to merge with the goal. As it is obvious to any person skilled in practicing mantra meditation, it has the advantage that rewards (mantras in this case) do not depend upon any external world stimuli. Besides, mantras being extremely personal experiences for the subject, and having the ability to self evolve, stay ‘magical’ and ‘eternal’ in subject's mind.

All being said about meditation (and mantra meditation), it is not so easy to impart this skill to someone. While there're numerous ways to demonstrate, lecture and facilitate meditative conditions (such as through instructional classes, video and audio media, yogic practices, chanting sessions, breathing practices), they don't help much unless the subject is extremely motivated in reflecting on his/her own states of mind. The most phenomenal success in teaching mantra meditation was achieved by late Maharishi Mahesh Yogi through his acclaimed Transcendental Meditation™ technique.

However, teaching of Transcendental Meditation™ has been having three major difficulties:

(a) Choosing of mantras with limited or little knowledge of the subject's personality and history.

(b) Lack of means to monitor or challenge the subject's mind when it is inside a meditation session.

(c) Not being able to motivate ordinary people to make them aware of their mental abilities to get them started on at least a starter session.

Careful examination of the art has revealed to the inventor that gaining ability to controllably flex mind between known, distinct mental states gives a tremendous jumpstart to the subject on the path to learn mantra meditation. Making ordinary people aware of their ‘mental muscles’ and exercising those muscles on a daily basis is perhaps the best way to spread its popularity.

There have been efforts to develop machines that monitor mental states and alert users upon state transitions for various purposes (U.S. Pat. Nos. 5,813,993, 6,625,485, 5,724,987, 5,911,581). Work reported in the field of sleep-alert continuum characterizations is a good example of such efforts. These techniques are generally seen to have the following setbacks:

(a) They rely heavily on creating (and identifying memberships functions of) input classes of bio signals which are collected under idealized conditions far moved from reality.

(b) They rely only on EEG signals and their frequency components.

(c) Physical conditions are given more importance than the underlying moods (mental states) of people under test.

(d) Temporal variations and individual to individual variations in bio signal activity aren't adequately modeled.

(e) Alerts are open-ended in the sense that, they couldn't be programmed by the user to reveal a causal relationship between the underlying thoughts (mental states) and the alert itself.

(f) Alerts used have been impersonal in the sense that there hasn't been any effort to control the quality of those alerts based on individual feelings.

As discussed above, there haven't been procedures or technologies out there to monitor, alert or controllably flex human minds in order to attain supervisory abilities all along the subjects' wakened life even without the help of external instruments.

SUMMARY & OBJECTIVES

The present invention is a collection of algorithms and control system components, some of which can be combinatorially used in training a human mind to develop instincts to flex mental state in response to onset of electrically identifiable mental events. It has hardware and software means to excite a subject's senses with a variety of types of bio stimuli, collect a variety of types of bio response signals in response to mental states or said stimuli, tag the collected signal segments, identify patterns underlying specific mental states and process bio signals in real-time to calculate required bio stimuli outputs in user-interactive or automated environment.

An objective of the invention is to prepare human mind for easy and more effective learning of mantra meditation technique, which involves the following steps

(1) Manually triggered recording of bio signals from subject's body in tandem with recognition of at least one of two disparate states of subject's mind (called brooding and non-brooding states) per judgment by the subject himself/herself.

(2) Building up libraries of similar bio signals collected under similar mental states personally experienced by the subject and aided by algorithms

(3) Using algorithms to process and characterize parts of collected bio signals so that common traits of dwell-in, slip-in and wake up sections can be identified for each library.

(4) Using machine and algorithms to continuously monitor subject's mind for signs of steady states (dwell-ins) or transients (slip-ins and wake ups) helped by traits characterized before.

(5) Determining appropriate mantras for the subject by scientifically evaluating various bio stimuli based on their ability to ‘surprise’ the subject.

(6) Alerting subject using appropriate mantras upon signs of dwell-ins and/or transients outlasting a set threshold

(7) Pavlovian conditioning of subject's mind on causal relationship between mantra and the preceding mental state.

(8) Instructing the subject to follow a personally configurable ‘wake-up ritual’ upon hearing (or feeling) mantra

(9) Challenging subject with mental games where subject would beat the machine to playing alerts or artificially create brooding or non-brooding states at progressive threshold settings

(10) Preparing the subject with a controllably deflectable mind and a set of favorite mantras and devoid of any external equipment

(11) Continuing training until virtual (perception of) mantras take over the place of real world stimuli

Another objective of the present invention is providing a better method to identify, sort, analyze and correlate bio signals collected from a human's body at various occasions. This is based on a trigger-mark manually set by the subject upon recording.

Another objective of the present invention is providing a superior method of forming classes of bio signals aided by recurring personal moods of the subject rather than mere electrical characteristics of signals.

Another objective of the present invention is providing a method to analyze and threshold signals based on their trending, that is, duration of patterns rather than amplitudes in the temporal or spectral domain.

Yet another objective of the present invention is usage of bio signal libraries not limited to EEG for analyzing mental states.

And yet another objective of the present invention is providing an algorithm to evaluate and synthesize bio stimuli (known as mantras in the context of this patent) with emphasis on personalizing its effects based on analysis of subject's feedback as well as bio signal responses.

A final objective of the present invention is providing an algorithm to condition human mind on a causal relationship between certain bio stimuli and non-brooding mental states so that playing of such stimuli triggers positive thoughts.

DRAWINGS Figures

FIG. 1 shows a portable Mind Strength Trainer in accordance with the 1^(st) embodiment.

FIG. 2 shows electrical schematics of a Mind Strength Trainer.

FIG. 3 is a top level operational flowchart of the device made of block diagrams.

FIG. 4 is a flowchart that has block diagrams describing the process of building a bio signal library.

FIG. 5 has block diagrams describing the process of validating a bio signal library.

FIG. 6 describes the process of characterizing signal sub-segments in order to find their common attributes.

FIG. 7 is a flowchart describing the process of selecting a suitable mantra.

FIG. 8 has block diagrams depicting how the device operates in closed-loop mode.

FIG. 9 has block diagrams showing the open-loop mode of operation of the device.

FIG. 10 shows a second embodiment of the invention, which is not portable.

DETAILED DESCRIPTION FIGS. 1 and 2—First Embodiment

FIG. 1 illustrates the 1^(St) embodiment of a Mind Strength Trainer which is in the form of a portable headset device 100. Central to this embodiment is a human subject 10 wearing the headset device. The device primarily comprises of at least one bio actuator 120, at least one bio sensor 150 and signal processing electronics (such as signal conditioning & data acquisition electronics 155, actuator-driver 125 and signal processor 170) that channel signals between sensors and actuators. In FIG. 1, the bio sensor 150 used is a dry EEG (electro encephalogram) sensor electrode that collects EEG signals from subject's body and channels it through signal processing electronics. The bio-actuator 120 is a headphone that plays mantras 110 in the form of audio-stimuli into subject's ears. In a most general sense, mantra 110 is a methodically engineered bio stimulus, defined in the context of the present invention. It is depicted as a non-physical entity in FIG. 1. Another important element of the present invention are two disparate states of subject's mind called the brooding 160 and non-brooding 170 mental states which causes change in the EEG patterns that control this device. Concepts of these non-physical entities (brooding states, non-brooding states and mantras) are explained below in order to better understand the working this embodiment.

Human mind has a tendency to get lost in emotional cycles. There are occasions when we forget the time and indulge in self-feeding thoughts as negativity consumes our minds. Most often, rumination cycles set in when we are left to ourselves such as in rest rooms, office cubicles or cars. Several minutes or even hours easily lapse if we succumb to cyclic thoughts. While we know that they don't produce any useful outcome and are even detrimental to our emotional wellness, it is hard to control or predict their onset. For example, there are times we can't remember how and why the last ‘fit of rage session’ happened or how often we slip into ‘self indulging thought sessions’ or how negative emotions build up upon seeing a person. In the context of this invention, these states are termed brooding states of mind while the associated life events are called brooding sessions or brooding events. The signature of a brooding session is cyclic ruminations where the subject goes over thoughts and feelings the same way over and over again, for no reason and having no control.

We also have exuberating moments in life, on the other hand. They're filled with unconditional joy and have traits almost opposite to that of brooding sessions. They are relatively short, contain no self-reflecting components and are never cyclic. They are more like a child-like exhilaration where we're happy for no reasons and about everything around us. These events are called non-brooding sessions and the associated mental states are called non-brooding states, in the context of this invention.

Human beings connect to their surroundings through their five senses. And we know there are some sensory stimuli, so powerful that they can completely deflect or de-rail our thoughts and moods irrespective of our mental states. For example, a lovely music note or smell of pine trees or a cold shower can pull you out of a depressing thought. Similarly, a deafening alarm, cry or a disgusting smell or sight can completely throw you off track. Mantras in the context of this invention are bio stimuli applied to various human senses with the intent of breaking brooding cycles or alerting changes in mental states. These are methodically engineered signals that can impart an always likeable, surprise element to the user of the current invention.

Going back to the embodiment of FIG. 1, it may be noted that bio sensors and actuators of various types suiting different sensory inputs and outputs may be used to achieve the intended results. However the exemplified bio sensor here is of dry electrode EEG type, such as the ones developed by NeuroSky or IMEC or Emotiv Systems with signals tapped from one location or simultaneously from multiple locations of subject's head. A preferred bio actuator suitable for the embodiment is a pair of headphones optionally having noise canceling features. In the preferred configuration, the headphone also plays menu items to the subject when the device wants to interact with the subject.

In the preferred configuration, device 100 has a button 101 to record brooding events, a second button 102 to record non-brooding events and a third button 103 to choose the operating mode of the device. It also preferably has a microphone 104 to take voice inputs and at least one communication port 105 such as USB or Bluetooth to interact with a display device or external computing devices or a network.

FIG. 2 provides an electrical schematic of the 1^(st) embodiment. Though this depiction portrays only one EEG channel for bio signal input and one audio channel for bio actuator output, it may be remembered that in practice, a multitude of sensor and actuator types could be chosen, combined, deployed and tuned as preferred by the user 10. Typical bio sensors available are EEG, EMG, skin conductance, breath rhythm, voice and cochlear response sensors, kome kami switches etc. If acceptable to the subject, bio sensors could also be embedded into the subject's body to directly tap neuro signals.

Generally, bio actuator 120 and associated driver 125 can be selected from a plurality of audio, video, smell, taste and tactile types of stimuli generators, capable of imparting stimuli to human subject. If acceptable to the subject, bio actuators could be embedded into the subject's body to directly stimulate the neural system.

Data acquisition device 155 electrically communicates with bio sensors 150 and is capable of acquiring data from them with configurable triggering modes in time domain.

The device also comprise of a memory 190 able to receive, store and retrieve data pertaining to bio signals and bio stimuli in various pre-designated groups and communicating with said data acquisition devices and said bio actuators via processor 170

An important part of the embodiment is a set of bio stimuli patterns called mantras 110 stored in said memory 190, and capable of driving actuators 120 in order to pleasantly jolt human consciousness.

Also stored in memory 190 is a number of operational states 122, able to associate each said machine task to at least one operational state of the machine. Memory 190 also hosts various signal processing algorithms and an operating system that runs the device.

An interactive interface 180 optionally consisting of display, touch screen-input and menu items able to communicate user settings and preferences back and forth between user and the machine via one of communication ports 105 is provided. Additionally, there are buttons 101,102 and 103 provided on the device to enact quick action short-cut functions (such as On/Off, Record, Stop, Toggle menu items, Change operating modes etc).

The user is also able to interact with the device by means of voice communication, by hearing operational instructions through headphone 120 and responding through microphone 104.

A memory controller 191 communicating directly with memory 190, and indirectly with user interface 180, data acquisition device 155 & bio stimuli drivers 125 is also provided.

Central to this schematic is signal processor 170 communicating with data acquisition device 155, bio actuators driver 125, memory controller 191, user interface 180 and the buttons 101,102 &103.

Operation—FIGS. 3,4,5,6,7,8 and 9—First Embodiment Overall Operation of the Device:

FIG. 3 is the top level flow chart for the operation of 1^(st) embodiment of the invention when it is used to train human mind to controllably flex between mental states.

Wearer (subject or user) of a Mind Strength Trainer (the device or machine) starts off by setting it to Learning Mode 300 by pressing button 103. From there subject has a choice to branch out to path 301 (where he/she learns to sense their brooding moods) or path 302 (where subject tunes to his/her non-brooding moods) or do both. In any case, subject needs to complete path 303 (selecting mantras) before switching to Operating Mode 342.

The first step in pursuing paths 301 and 302 is building a library of bio signal segments (EEG signals in the context of the 1^(st) embodiment) by the subject, which is represented by blocks 310 or 311 in FIG. 3. The procedures represented by blocks 310 and 311 are identical in nature and are further elaborated in FIG. 4 flowchart. The libraries thus built are validated (blocks 320 and 322 of FIG. 3) by the machine and the validation process is explained in FIG. 5. Members of a validated library will have similar trends, shapes, durations and attributes. Members may comprise of up to 3 sub-segments corresponding to slip-in, dwell-in and wake up sessions of the subject's mind. After a library is validated, the machine separates and characterizes (block 330 or 324 in FIG. 3) sub-segments using their time domain or frequency domain traits. Process of characterization of sub-sections is elaborated in FIG. 6.

As a sub-process within the Learning Mode, subject can switch to a Mantra Finding Mode by initiating path 303 of FIG. 3. Mantra Finding comprises of an initial manual screening (blocks 332 and 334) of variety bio-stimuli by the subject, which has the following steps:

a) Loading memory 190 with libraries of bio stimuli signals that are appropriate for the chosen bio actuators 120 and drivers 125. Smell of pines or a bird's tweet or feel of breeze are examples. For the current embodiment audio clips comprising binaural beats or musical sounds may be chosen.

b) Receiving feedback from the subject regarding their pleasantness and memories they trigger each time the stimuli is played.

c) Picking out (a set of) favorite stimuli of all such times as identified by the subject having maximum pleasantness and minimal afterthoughts.

After this initial screening, the machine evaluates (block 340 of FIG. 3) the selected stimuli using an elaborate algorithm flowcharted in FIG. 7. Outcome of this procedure (the most favorite candidates for mantras) are further engineered to enhance their surprise appeal and archived back in memory 190.

Once the device is trained to identify the slip-in and dwell-in sessions of targeted mental states and it has the most suitable mantras in store (block 341), it is ready to end the Learning Mode and start the Operating Mode (block 342) of the device.

Per block 343 of FIG. 3, subject needs to choose if he/she wants to pursue an open-loop operation 360 or closed-loop operation 350 of the device. To make this choice, it is important for the subject to judge which moods he/she encountered were of identical (if not of similar) nature, repeating in natural life and if the collected signals were of high integrity in terms of coherence& confidence interval. The machine aids the judgment process by displaying the library members, associated voice tags and computed confidence intervals. The voice tag attached to a segment helps the subject remember the circumstances under which he/she collected that particular bio signal. If subject feels that he/she nailed the brooding states better than the non-brooding ones, he/she would pursue the closed-loop path which is a more desirable way of operating this device. On the other hand, the subject would opt for the open loop operation.

Block 350 of FIG. 3 represents the closed loop mode of operation which is further explained in the flowchart of FIG. 8. The open loop operation (block 360) is flowcharted in FIG. 9.

The subject chooses when or if he/she would stop using the device. In the case of closed loop operation, the subject progresses through levels of mental games where the subject's mind is made progressively sensitive to subtler changes in mental states. Eventually, the subject is able to carry mantras in his/her minds and gain supervisory abilities at all times, without a need for an external device (block 351) to monitor or alert. In the advanced levels of these games, mantras play instinctively inside subject's mind to ward off brooding states, even with the device's output stimuli turned off.

As in the case of closed loop operation, subjects undergoing open loop training are also able to establish causal relationships between their moods (non-brooding, positive moods in this case) and stimuli generated by the device. In both the cases, they gain ability to reflect on their mental states and learn to remain in non-brooding states than in brooding conditions.

In the following sections all the major algorithms& procedures used in the main flow diagram of FIG. 3 are explained.

Procedure to Collect Bio Signals:

FIG. 4 explains how a bio signal segment is collected from subject's body, entirely at the discretion of the subject. This flowchart and the following description pertain to brooding states of the subject. It may be borne in mind that the same procedure is used to capture non-brooding states too.

As the first step (block 400), the subject would identify situations in life when he/she gets lost in thoughts occasionally (if not frequently). Examples are some regular chore sessions (morning commute, restroom time, in front of shaving mirror, brushing teeth etc) when you're left to yourself. Else, it could be certain occasions that trigger your brooding thoughts such as, after meeting with your boss, thinking about a lost love, a missed opportunity, self-hate or self-admiration sessions etc. Another example is subjects being thrown into a bad mood upon encountering a certain race. Subject starts wearing the device in its Learning Mode and when he/she realizes that he/she is caught in a brooding session, he presses (block 410) an easily reachable Record button 101 on the headset. Alternately, in case he/she find himself/herself in a distinct non-brooding situation, he/she presses button 102 which is preferably located disjoint to 101. In a preferred configuration, buttons 101 and 102 could be on the left and right sides of the headset.

As the subject presses the Record button, the device captures a segment of bio signal (EEG in this case) that encompasses the trigger event (manual button pressing event), pre-trigger history (past signal representing brooding) and post-trigger data (signal representing woke-up state of subject's mind). Length of pre-trigger history is pre-set to a high value (several minutes) so that a possible sign of slipping into the brooding state could be captured and contrasted against the dwell-in period. It may be noted that the final portion of pre-trigger history would comprise of EEG activities that reflect a waking up of subject's mind (which happens when subject realizes that he/she had been ruminating for a while) followed by the button pressing event itself. Post-trigger data captured is programmed to be a shorter one, which would comprise of subject's woke-up mental states. Per 430, subject also has the ability to choose the signal segment size and size of the buffer needed to store data in each capture.

After pressing the record button, the device prompts the subject 10 to add (block 450) a voice tag to the segment that would be archived along with the segment which would later be of assistance to identify the event type. For example, subject could say “had been thinking about so and so during the morning commute” etc. This input will be accepted via microphone 104 of FIG. 1 embodiment. Subject can build simultaneous libraries grouped according to their contexts or stick to a singular type of event.

Subject 10 is preferred to wear the device for several days or weeks until he/she feels confident that he/she has encountered and captured enough number of brooding situations of similar (if not identical) nature.

Procedure to Validate Libraries:

Following steps explain how a signal library (and hence, members within that library) is validated by the machine. The validation procedure comprise primarily of mathematically checking for similarity between segments of signals within the library, with assistance from the subject in choosing situations having most similar underlying moods. If the machine finds difficulty in quantizing similarities, the subject or a field expert would guide the machine through the process by suggesting threshold levels etc. Validation of library and training of machine on a validated set improves the quality of mental state detection during machine operation.

FIG. 5 shows the operational flowchart of validation procedure. It comprises of:

a) Loading (block 500) the first EEG segment of the library into working memory space from an archival (in post-processing mode) or directly from the data acquisition device (for real time operation, if the subject feels like processing signals right away)

b) Removal (block 510) of spurious artifacts caused by eye-blinks, EMG activity etc from the segment

c) Identification (block 520) of ‘button press’ event on the time series and indexing it as N1

d) Receiving (block 532) inputs M, O and P (three indices) from the subject to split (block 530) the signal segment into up to 3 sub-segments representing 3 regions of mental activity within the captured brooding session. Determining M, O and P is an interactive operation where the subject 10 is presented with a visual display of the signal trace via interface 108 of the device. If sufficient pre-trigger history has been captured, the subject will be able to identify a slip-in transient (to be called S1 sub-segment) in the earlier section of the trace where he/she drifted into the brooding mood. If not, subject might see only the steady state sub-segment S2 (corresponding to the dwell-in session of the brooding state) and the transient sub-segment S3 (corresponding to waking up from the brooding mood). M, O and P are essentially indices of the boundary points that define the three sub-segments.

e) Marking an M^(th) sample before the trigger point (N1 ^(st) sample) in said time series so as to define a contiguous sub-segment S3 consisting of signal samples N1-M through N1−1 representing a wake up session of mental activity

f) Marking an O^(th) sample before said N1 ^(st) sample in said time series so as to define a sub-segment S2 consisting of samples N1-O through N1-M−1 representing a dwell-in session of mental activity

g) Optional marking of a P^(th) sample before said N1st sample in said time series so as to define a sub-segment S1 consisting of samples N1-P through N1-O−1 representing a slip-in session of mental activity

h) Saving (block 533) sub-segments S1, S2 and S3 into pre-assigned memory spaces S1G1,S2G1 and S3G1 in memory 190

i) Loading the 2^(nd) signal segment member from the library, splitting it into up to 3 sub-segments (say S1′,S2′ and S3′) in the same way as done with the 1^(st) segment

j) Computing a coherence array C2 between S2 and S2′ and storing in memory space C2G1 where S2 is a sub-segment of the previous member of the library, recalled from memory space S2G1. Coherence is computed after dividing each of sub-segments S2 and S2′ into windows having sufficient lengths to contain multiple cycles of EEG patterns. As it will be evident to anybody familiar with digital signal processing, windows within S2 & 52′ need to be of same length, suitable windowing function need to be applied and FFT parameters need to be chosen to compute coherence. Subject has the freedom to choose such parameters (such as type & size of window, overlap, number of FFT points) or can leave them at expertly chosen default levels. Computed C2 will be an array of numbers between 0 and 1.0 representing the coherence function (one-sided, magnitude squared coherence) between the sub-segments at various frequency steps of interest. While at least two windows per sub-segment are necessary, a higher number of windows improve the confidence interval of coherence computation.

k) Continuing this process on the 3^(rd) member signal of the library by identifying at least a dwell in session sub-segment, dividing it up into windows and computing its coherence C2 against S2 recalled from memory space S2G1

l) Comparing (block 560) the newly computed coherence array C2 of step ‘k’ with saved array in memory space C2G1 of step T. To compare the two arrays, a statistically derived representative value per array (such as median or average) may be used. Also, it is desirable that confidence intervals behind the computation of the two arrays are comparable.

m) Keeping contents of memory space C2G1 intact, if newly computed values of C2 is equal or greater than the stored ones in C2G1

n) Replacing contents of memory space C2G1 with the new array of C2 if it is lower than the stored array in C2G1

o) Continuing processing of every member signal in the library by computing coherence C2 of dwell-in sub-segment against the stored sub-segment S2 retrieved from memory space S2G1, and writing memory space C2G1 with lower of the computed value of coherence array.

p) After processing the last library member, comparing (block 570) of final contents of memory space C2G1 (i.e., comparing the statistically representative value for the array) against a subject inputted threshold level T for expected coherence number.

q) Rejecting (block 572) the library, discarding all signals within and starting over with a new population of bio signals, if finally stored coherence numbers are lower than level T

r) Accepting (block 580) the library as valid and archiving it to memory 190 if final C2 is equal to or higher than user defined threshold T with a reasonable confidence interval.

Procedure to Characterize Bio Signal Segments within a Validated Library:

After building a robust library (or libraries) of brooding (and or non-brooding) states, the next step is finding a common pattern inside all members of the library, so that it can be used as a sign to search for similar mental states. For example, all validated S2 sub-segments of the library would bear characteristics reflecting a brooding state of subject's mind. FIG. 6 is a flowchart depicting steps (blocks) involved in the characterization process. Common time-domain attributes (transient shapes, rise/fall times, DC levels etc) and frequency-domain attributes (frequency components, power spectral density for a certain frequency bin, area under PSD curve in a frequency band etc) are computed, tabulated and presented to the subject via user interface 108 (blocks 640,641,642,643 and 644). The subject chooses (block 660) the ‘best’ attribute available (named AXD) to represent the dwell-in session of his/her brooding state.

Procedure to Select Mantras:

As mentioned in the early part of specification, after the subject identifies a set of his/her favorite bio-stimuli, the device 100 goes on to evaluate (block 340 of FIG. 3) them as flowcharted in FIG. 7. A first stimulus (audio clip in the present case) is chosen and played at random times of the day, for several days and corresponding bio responses (EEG signals in the present case) from the subject's body are recorded by the device each time. The intent here is to surprise the subject with stimuli at most unexpected situations, collect the bio responses and check if the quality of bio response degrades with time. The capturing process (block 705) is auto-triggered by the stimuli so that a pre-trigger segment ‘Z-’ and a post-trigger segment ‘Z+’ of equal length are obtained. With help from the subject, an initial transient part of ‘Z+’ is identified as TRANZ which encompasses the ‘moment of surprise’ caused by the unexpected stimulus. Segment TRANZ obtained from the first run is archived (block 720) in location TRANZ0 of memory 190. Further, two parameters are computed on the 1^(st) bio response and saved in memory 190. They are a Correlation Coefficient CORZ calculated between segments ‘Z-’ and ‘Z+’ and TRANZT which is length of segment TRANZ.

From the 2^(nd) run onwards, a new parameter called CORTRAN is computed to check if TRANZ part of the current run has any resemblance with that collected in the original (1^(st)) run. CORTRAN is the Correlation Coefficient computed between the TRANZ segment from the current response to the segment stored in memory location TRANZ0. Thus, from the 3^(rd) run of the bio stimuli onwards, with each new run, the bio response is collected, Z+, Z− & TRANZ are identified, CORZ, TRANZT & CORTRAN parameters are calculated and tabulated (block 750). After making enough number of runs with the stimulus, statistically representative values (such as average values) for CORZ, TRANZT & CORTRAN are derived (block 770). A low value of CORZ close to zero (indicating a high surprise factor), a small TRANZT (indicating brevity of after thoughts) and a high value of CORTRAN close to 1.0 (showing sustenance of the surprise factor in spite of extended use) is sought (block 780) by the subject to accept a certain bio stimuli as mantra.

If the 1^(St) stimulus didn't produce satisfactory results (block 782), runs with the next one is started and previous procedure is repeated.

After selecting the mantra it is optimized (block 790) to enhance its ‘dramatic’ effects. An example for optimization is adding of a deep silence section (by activating the noise cancelling circuitry of the headset) just before playing of the audio clip. Another example is having a preamble of smell or taste stimuli (subject to the availability of the necessary bio actuators and drivers) just before mantra is played. The process of optimization is very subjective and is done interactively (block 781) with the user. An optimized stimulus is archived (block 790) as a mantra.

Procedure to do Closed-Loop Operation of the Device:

As discussed before, closed loop operation is a process where the subject senses his/her brooding states and develops instincts to flex mind away. Duration of this operation is entirely up to the subject and it may take several months or even years to master the mind flexing skills. FIG. 8 flowcharts the various steps involved in closed loop operation.

After setting the device in the ‘Operate Mode’, the data acquisition part is adjusted (block 800) so that it is able to collect enough number of samples per channel at the required sampling rate, to compute the AXD attribute (derived per procedure in FIG. 6) every cycle. If AXD attribute chosen is a frequency domain characteristic needing multiple windows & averaging, care needs to be taken to satisfy a maximum of those conditions while remaining within the real time computing power offered by the processor and operating system of the device.

If AXD is detected, it is checked (block 813) whether it lasts longer than ‘TL’, a first Time Limit prescribed by the subject to weed out short events. This is done by randomly sampling sections of the frame collected, for sustained AXD activity in time domain. If such activity is found to recur even after ‘TL’, a running coherence/correlation check is initiated on frames of captured data. Coherence calculation is preferred if multiple windows were involved in the computation of AXD attribute. Correlation coefficient would work better, if dealing with AXDs defined for transient events (such as bursts in EEG, rise in skin conductivity level etc). If such running coherence (or correlation coefficient) remain above limit ‘L1’ iteratively set by the user for a second time limit ‘TLL’ (also set by the user), a mantra alert is played (block 820) to the user.

Upon receiving the mantra alert, the subject performs (block 830) a ‘wake-up act’, which comprise of enacting explicit bodily expressions to acknowledge the mantra alert. The wake-up act needs to contain an element of self-reflection and be performed with complete self awareness (not like a mechanical ritual) and positivism. Examples are a wide smile, a deep breath, self-patting on the back or even a few dance steps. These explicit acts break the brooding cycle and instantly switches subject's mind into non-brooding states. In other words, these are optional acts that ‘amplify’ and ‘reinforce’ the subject's mantra experience and enhance mantra's power to break ruminating cycles.

As the subject continues wearing and operating the machine he/she learns to tweak its parameters in accordance with mind's sensitivities. For example, there's a chance that none of the brooding events are detected if L1, TL or TLL are set very high. Similarly if the device keeps buzzing mantras too often, it means that it is time to increase the detection threshold values to a comfortable level or check the characteristics of bio signals coming in. After many days (or weeks or even months) of operating the device at a particular setting, it gets to a stage where the subject will be able to ‘sense’ (block 840) the onset of a brooding state and predict a mantra coming, before it is triggered by the device. This happens because of the conditioning of subject's mind on causality between the mental state and the stimuli played. At an advanced stage, it may even be possible for the subject to precipitate a mantra triggering by ‘faking’ a brooding state. Either way, operating the device becomes an interesting mind game for the subject while he/she sub-consciously learns to watch over or supervise his/her own mental states.

Also at this advanced level, the device’ output (i.e. mantra stimuli) can be turned off and yet the subject will be able to ‘re-enact the mantra experience mentally’ (virtual playing of mantra in mind) when events leading to a brooding condition initiates in real life. The mantra, its preamble and the wake-up act integrates into a unique, highly personalized mental experience for the subject which gets embedded in subject's mind. Thus it is enough for the subject to ‘mentally replay’ the mantra experience to toggle into a non-brooding state.

Explained in blocks 850 and 851 are optional steps where the subject can lower the detection thresholds and get sooner and faster alerts when mind slips into brooding states. This would challenge the subject to get more sensitive to brooding levels (to be able to beat the machine into playing alerts).

To summarize, the activities performed during the operating phase of the device helps the subject develop the supervisory abilities and mental instincts (hence the ‘mental muscles’) to flex his/her mind at will. Also it leaves the subject with a mantra in the form of an ingrained mental experience that helps him/her easily master mantra meditation techniques such as Transcendental Meditation™

Procedure to do Open-Loop Operation of the Device:

The open loop operation (represented by block 360 of FIG. 3 and elaborated in FIG. 9) is a mode wherein, the subject learns to identify his/her non-brooding (positive) states that usually happens without his/her knowledge. As in the case of closed-loop operation, the device continuously scans (block 910) the EEG stream for a previously determined attribute representing a non-brooding mood. Usually such moods are short transients when compared to the brooding states. As soon as an attribute is detected, the subject is alerted (block 930) using a mantra. When mantra plays, subject takes a moment to reflect (block 940) on his/her state optionally with the help of a ritual. Continuing the open loop operation for several weeks or months, the subject's mind is conditioned on the causality between non-brooding states and mantras.

In the later part of the operation, machine plays (block 950) the same mantra to the subject at random times of the day in an open-loop manner (regardless of input EEG signal state). By virtue of conditioning, subject's mind associates that mantra with non-brooding events. This automatically triggers positive thoughts in subject's mind and helps him/her stay positive.

As in the case of closed loop operation, the mantra and associated personal experiences gets embedded in subject's mind eventually eliminating a need for external stimuli. The subject is able to make use of this mantra when he/she formally initiates mantra meditation.

Description and Operation of Alternative Embodiments—FIG. 10

FIG. 10 depicts a second embodiment of the Mind Strength Trainer that has a ‘non-portable’ configuration. They are preferably stationed in a controlled environment (such as a physician's office) and hence have the ability to accept and process a slew of bio signal inputs and drive many types of bio actuators than a portable headset device. The subject using such machine will be able to experiment with various bio sensors worn internally or external to the body, tune their gains, acquisition parameters and filter settings to suite personal preferences. Also he/she'll have a chance to evaluate various bio stimuli and tweak their channels before choosing the right one/combination. Thus, this configuration can serve as a test station to study subject's body characteristics and match them with appropriate stimuli. At the same time it may be noted that in a controlled environment, it lacks the ability to monitor or sample ‘real life’ events that happen in day to day life.

As shown in FIG. 10, signal processing components (1020, 1040) have the same functionalities as the corresponding parts 155,170 and 125 of the 1^(St) embodiment, except that they can handle a varied range of inputs and outputs.

Operation of the device remains essentially similar to the first embodiment, except that the user-interface of the software has a more elaborate menu offering more possibilities of mixing and matching signals in accordance with user needs.

CONCLUSIONS, RAMIFICATIONS AND SCOPE

While my above description contains two specificities in hardware configuration of the device, these should not be construed as limitations on the scope, but rather as an exemplification of several embodiments thereof. For example, the device could be built around a handheld device (an iPod for example), sensors & actuators may be wirelessly strewn over the internet or could even be remotely controlled by a physician.

Also it may be noted that Mind Strength Trainer and it's algorithms may be used in less obvious ways as described in FIG. 3. For example, the subject could develop and build on his/her mind flexing abilities even without having or collecting recurring moods (brooding, non-brooding etc), validated libraries of signals or their identified attributes. In such situations the machine will be used to monitor known electrical characteristics (such as the power spectral density of beta component of EEG, computed with 1 Hz bin size, 128 FFT lines, Hanning window, 10 linear averages etc) of the signal and whether they sustain beyond certain duration or not. This or any other method of operation that trains human mind on causality between mental activity and an artificially generated alarm would help attain (mental) supervisory abilities, which is the fundamental building block of any meditation technique.

Also it may be noted that the subject doesn't necessarily need to scientifically derive a mantra as described in specifications. He/she could use commonly or previously known mantras or even use random stimuli (with less desirable effects) to operate the machine.

Further, this machine could be used for different purposes (than as a meditation aid) and by second parties working on subject's mind (than the subject doing it all by himself). For example, it could be used to collect signals while engaged in physical activities of a specific kind. Thus, signals may be collected corresponding to physical conditions such as drowsiness, drunkenness, kicking a ball or running. Or, it could be used by a physician or neuro feedback expert looking for signs of depression etc.

Accordingly, the scope should be determined not by the embodiments illustrated, but by the appended claims and their legal equivalents. 

1. A signal processing and controlling machine adapted for manually marking at least one targeted state of mind of a human subject comprising: a. bio signal acquisition, processing and storage means to collect, tag, process and store said bio signal from said subject body b. user interface means for said human subject to communicate operational parameters back and forth with said machine and optionally view results produced by said machine c. a first recording means to instantly acquire a bio signal segment from said subject's body and save into memory at the instance of said subject pressing a button upon recognizing the onset of said targeted state of mind d. a second optional tagging means to manually tag said bio signal segment with additional information before saving thereby enabling said human subject to use self discretion to collect said bio signals representing various moods of day to day life.
 2. The machine of claim 1 wherein said acquiring of bio signal segment involves saving an array of bio signal voltage-samples sampled, time-stamps associated with sampling of each said sample, a trigger-mark identifying the time-stamp associated with said button pressing event and any tag data associated with said segment.
 3. The machine of claim 1 wherein said targeted state of mind corresponds to mental conditions such as a brooding, non-brooding or depressed state.
 4. The machine of claim 1 wherein said targeted state of mind corresponds to physical conditions such as drowsy, drunk, running or kicking.
 5. The machine of claim 1 wherein said tagging means comprise of having microphone means to add a voice clip from said subject to said bio signal segment.
 6. The machine of claim 1 further including user-interactive or automatic means to sort said bio signal segments collected at various instances in accordance with similarities in their underlying mental states, archive them into libraries and retrieve them for later processing.
 7. The machine of claim 6 wherein means to retrieve said bio signal segment from said library is guided by said tags attached to them.
 8. The machine of claim 1 wherein said first means for acquiring bio signal segments includes additional user-interactive means to control lengths of pre-trigger and post trigger acquisition.
 9. The means claim of claim 8 wherein said additional user-interactive means to control pre-trigger history acquisition length is said subject's input indicating said subject's perception of start time of said targeted state.
 10. The machine of claim 1 wherein said bio sensor is electroencephalogram (EEG) sensor and said bio signal is electroencephalogram (EEG) signal.
 11. A signal processing and controlling machine adapted for identifying a slip-in, dwell-in and wake-up regions within a bio signal segment recorded from the body of a human subject corresponding to periods when said subject slipped in, dwelled within and woke up from a targeted state of mind, said recording process having been triggered by said subject upon recognizing the onset of said state of mind, comprising: a. a central processing unit, memory controller, and memory containing said bio signal segment bearing a trigger-mark representing the instant at which said recording process was manually initiated by said subject b. user interface means for said human subject to communicate operational parameters back and forth with said machine and optionally view results produced by said machine c. a first means to identify said trigger-mark inside said bio signal segment and associate it with a wake-up activity in said subject's mind d. a second user-interactive means to back-trace within said bio signal segment from said trigger-mark up to a slip-in region as characterized by a change in signal pattern e. a third user-interactive means to identify a region between said slip-in and wake-up regions on said bio signal segment and identify it as said dwell-in region thereby enabling isolation of transient parts of said bio signal segment from steady state part exhibiting features of said dwell-in periods and their characterization using common signal processing tools as applicable to transient and steady state analysis.
 12. The machine of claim 11 further including means to process a multitude of said bio signal segments, by fragmenting each into slip-in, dwell-in and wake-up sub-segments and forming a library of all said dwell-in sub-segments.
 13. The machine of claim 12 additionally having means to check if said dwell-in sub-segments collected are similar by examining if said sub-segments exhibit mutual coherence beyond a threshold value.
 14. The machine of claim 12 additionally having means to check if said slip-in sub-segments collected are similar by examining if said slip-in sub-segments exhibit mutual correlation beyond a threshold value.
 15. The machine of claim 12 additionally having means to check if said wake-up sub-segments collected are similar by examining if said wake-up sub-segments exhibit mutual correlation beyond a threshold value.
 16. The machine of claim 12 further including means to identify time and or freq domain characteristics common to each sub-segment library.
 17. The machine of claim 11 wherein said bio signal is electroencephalogram (EEG) signal.
 18. A signal processing and controlling machine adapted for automatically identifying sustaining, targeted states of mind of a human subject comprising: a. channeling means to stream at least one bio signal from said subject body, having substantial correlation with said targeted state of mind of said subject, in real time b. alerting means to drive at least one bio stimulus into said human body, in real time c. a first real time signal processing means to scan said streamed bio signal for time domain or frequency domain attributes of a predetermined nature that characterize sustaining parts of said targeted state of mind d. a second logical means comprising of checking if, when said time domain or frequency domain attributes are detected, they outlast a subject-defined time limit, in order to filter out short occurrences of said targeted state of mind e. a third sustenance checking means of computing a running coherence function on said bio signal, comprising of continuously calculating coherence of a current segment of said bio signal against a previously collected segment of said bio signal, if said second means of filtering resulted in detecting said targeted states of mind that sustain for a substantial duration f. a fourth means to alert said subject upon said bio signal maintaining a substantial value of said running coherence for periods longer than a predetermined time threshold thereby having a machine with the ability to watch over said subject for sustained mental states.
 19. The machine of claim 18 wherein, said targeted states of mind is a brooding or non-brooding or depressed state.
 20. The machine of claim 18 wherein, said targeted states of mind is a generic state of mind not having any said predetermined trait.
 21. The machine of claim 18 wherein, said sustenance checking means comprise of computing a running correlation coefficient of said current segment against a said previously collected segment of said bio signal.
 22. The machine of claim 18 wherein, said alert used is a mantra.
 23. The machine of claim 18 wherein said bio signal is EEG signal
 24. The machine of claim 18 wherein said alerting means uses an audio clip for bio stimulus.
 25. A signal processing and controlling machine adapted for composing mantras for a human subject wearing said machine comprising a. bio stimuli storage, modification and application means to store, retrieve, alter and apply said bio stimuli to said human subject body b. bio signal acquisition, processing and storage means to collect, process and store bio response signals from said subject body c. user interface means for said human subject to communicate operational parameters back and forth with said machine and optionally view results produced by said machine d. a first means to apply one of said bio stimuli to the body of said subject simultaneously recording at least one bio response signal generated by said body in response to said bio stimulus e. a second means to control acquisition parameters of said bio response signal so that a substantial length of pre-stimulus history forming a pre-trigger segment and an equal length of stimulus response data forming a post-trigger segment are captured around a trigger point coinciding with the start point of said bio stimulus f. a third means to apply same said bio stimulus at random occasions of life, record responses at each run of said stimulus, compute a correlation coefficient between pre and post trigger segments obtained from each run of said stimulus application and find average of said correlation coefficients from all said runs g. a fourth means to apply same bio stimulus at random occasions of life, record responses at each run of said stimulus, compute a correlation coefficient between post trigger segments obtained from various runs of said stimulus application and find average of said correlation coefficients h. a fifth means to apply same bio stimulus at random occasions of life, record responses at each run of said stimulus, estimate a duration of an initial transient part on said post-trigger segment collected at each run of said stimulus application and find average of said transient durations from all said runs i. a sixth means to evaluate if said bio stimulus would make a substantially good candidate for forming a mantra by checking if said third means produced a substantially low value of said average correlation coefficient close to zero, if said fourth means produced a substantially high value of said average correlation coefficient close to one and if said fifth means produced a low value of said average durations j. a seventh means to enhance dramatic effect of said bio stimulus on said subject by adding a prelude of differing bio stimulus to said bio stimulus thereby making it possible to scientifically compare performance indices of various stimuli, choose ones that suit said subject's likings and verify if a chosen stimulus keeps producing desired results even after hundreds of repetitions.
 26. The machine of claim 25 wherein said bio stimulus is audio stimulus, said bio response is electroencephalogram and said seventh means for enhancing dramatic effect is adding a preamble of deep silence before said audio stimulus.
 27. A signal processing and controlling machine adapted to condition its user's mind on causality between a sustaining state of mind and an externally generated stimuli comprising a. a first means to monitor said sustaining mind states of said user of said machine b. a second means to trigger said stimuli each time said sustaining states lasts longer than a predetermined duration set by said user thereby said user's mind developing ability to anticipate occurrence of said stimuli upon said state of mind begins to sustain.
 28. The machine of claim 27 wherein said first means to monitor sustaining mind states comprise of scanning for specific signal attributes in bio signals representing said states of mind, by running continuous coherence check on said bio signals and monitoring if a substantially coherent session extends beyond said predetermined duration
 29. The machine of claim 27 wherein said second means uses a mantra stimuli
 30. The machine of claim 27 wherein said conditioning involve training said user to predict said alerts while said electronic means within said machine that generate said alerts is turned off
 31. The machine of claim 27 wherein said conditioning involve training said user to controllably induce said sustaining mental states to precipitate said alerts
 32. A signal processing and controlling machine adapted to condition its user's mind on causality between an externally generated stimuli and a non-brooding mental state comprising a. a first means to scan bio signals streaming from said user for specific attributes that represent said non-brooding mental state b. a second means to trigger said stimuli each time a said attribute belonging to a said non-brooding mental state is detected thereby training said user's mind to associate said stimuli with said non-brooding states that represent happy moments in said user's life.
 33. The machine of claim 32 additionally having means to help said user precipitate said non-brooding states of mind by playing said stimuli at random occasions and causing said mind to remember positive moments of life that lead to said non-brooding states
 34. A signal processing and controlling machine adapted to train a human subject mind to flex away from a sustaining mind state thereby exercising mind-flexing and building mind-strength comprising: a. bio signal acquisition, processing, storing means and bio stimuli storing, actuating means b. user interface means for said human subject to communicate operational parameters back and forth with said machine and optionally view results produced by said machine c. a first means to watch said human subject mind continuously by monitoring at least one bio signal from said human body that substantially correlate with said sustaining state of said human mind d. a second means to monitor sustenance of said sustaining mind state e. a third means to alert said human upon said sustaining condition persisting beyond a predetermined duration f. a fourth optional means to affirmatively break said sustaining mind state by having said human perform a wake-up act g. a fifth means to condition said human mind on causality between said alert and said sustaining mind state h. a sixth means to train said human mind to have the ability to self-alert said sustaining mind condition, even in the absence of said machine.
 35. The machine of claim 34 wherein said second means to monitor mind state comprise of scanning for specific signal attributes in bio signals representing said mental states and running continuous coherence check after said attributes are detected.
 36. The machine of claim 34 wherein said sustaining mind state is a brooding state.
 37. The means claim 35 wherein said signal attributes are derived by collecting bio signal segments belonging to similar life events of said human subject undergoing said sustaining mind states, forming libraries of said bio signal segments possessing substantial mutual coherence and finding time domain and frequency domain characters common to members of said formed libraries.
 38. The machine of claim 34 wherein said third means to alert use mantras that serve to break said sustaining mind state and deflect said human mind.
 39. The means claim 38 wherein said mantras are chosen by a process comprising: exciting said human subject with a bio stimulus while simultaneously collecting a pre-stimulus and post-stimulus bio responses caused by said bio stimulus on said human subject, repeating the process of said exciting at random occasions and collecting said pre-stimulus and post-stimulus responses each time, computing a first set of correlation coefficients between said pre-stimulus and post-stimulus responses for each repeat and finding an average value of said first set, computing a second set of correlation coefficients between said post-stimulus responses for each repeat and finding an average value of said second set, determining length of an initial transient part of said post-stimulus response for each said repeat and finding an average of said length from each repeat and finally, accepting said stimulus as mantra if said average of first set of correlation coefficients is low, said average of second set of correlation coefficients is high and said average of transient lengths is small.
 40. The means claim 38 wherein said mantras are additionally engineered for enhanced performance by modifying it with preamble stimuli.
 41. The machine of claim 34 wherein said fourth means of performing said wake-up act comprise of enacting a self-reflecting ritual, performed with substantial presence of mind, and forming an extension of said alert that amplifies said alert's effect.
 42. The machine of claim 34 wherein said bio signal is of electroencephalogram type and said bio stimulus is of audio type.
 43. The machine of claim 34 wherein said machine may be built from portable, partially portable or non-portable components. 